//
//  KeyWords.m
//  SouthChina
//
//  Created by creator_lq on 15/1/18.
//  Copyright (c) 2015年 科创. All rights reserved.
//

#import "DataDict.h"

@implementation DataDict

@synthesize     dictdataId;   //字典编码
@synthesize     dictdataName; //字典名称
@synthesize     dictdataOrder;//字典排序
@synthesize     dictdataValue;//字典值
@synthesize     dicttypeId;   //字典编码


-(DataDict*)initWithData:(NSDictionary*) data
{
    self.dictdataId = [data objectForKey:DICTDATAID];
    self.dictdataName =  [data objectForKey:DICTDATANAME] ;
    self.dictdataOrder =  [data objectForKey:DICTDATAORDER];
    self.dictdataValue =  [data objectForKey:DICTDATAVALUE];
    self.dicttypeId =  [data objectForKey:DICTTYPEID];
    self.dictdataDesc =[data objectForKey:DICTDATADESC];
    return self;
}

@end
